/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: twinkle 20s linear infinite;
}

@keyframes twinkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.baby-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.constellation-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.constellation-symbol {
    position: absolute;
    font-size: 24px;
    color: #ffd700;
    font-weight: bold;
}

.constellation-symbol:first-child {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.constellation-symbol:last-child {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.baby-name {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.baby-info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-right: 15px;
    width: 20px;
    color: #ffd700;
}

/* 核心特质区域 */
.core-traits-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.trait-highlight {
    margin-bottom: 50px;
}

.trait-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px 50px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(102,126,234,0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.trait-badge:hover {
    transform: scale(1.05);
}

.trait-title {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trait-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.core-metaphor {
    max-width: 800px;
    margin: 0 auto;
}

.core-metaphor h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
}

.metaphor-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    box-shadow: 0 20px 40px rgba(240,147,251,0.3);
}

.metaphor-icon {
    font-size: 4rem;
    margin-right: 30px;
    flex-shrink: 0;
}

.metaphor-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.metaphor-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 预览区域 */
.preview-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.behavior-analysis {
    max-width: 900px;
    margin: 0 auto;
}

.analysis-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.card-header h3 {
    font-size: 1.5rem;
    color: #333;
    flex: 1;
}

.free-badge {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.premium-badge {
    background: #ffd700;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.analysis-point h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.analysis-point p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-label {
    font-weight: 600;
    color: #764ba2;
    display: block;
    margin-bottom: 8px;
}

.detail-item p {
    color: #555;
    line-height: 1.7;
}

/* 付费内容样式 */
.premium-preview-section {
    background: white;
    padding: 80px 0;
}

.premium-content {
    position: relative;
}

.premium-content .card-content.blurred {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0.95) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.unlock-content {
    text-align: center;
    color: #667eea;
}

.unlock-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.unlock-content p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 更多内容区域 */
.more-content-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.content-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
}

.content-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.content-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.content-item p {
    color: #666;
    line-height: 1.6;
}

/* 支付区域 */
.payment-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
}

.payment-card {
    background: white;
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.payment-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.payment-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.pricing {
    margin-bottom: 40px;
}

.price-tag {
    margin-bottom: 30px;
}

.currency {
    font-size: 2rem;
    color: #667eea;
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1.1rem;
    color: #666;
    margin-left: 10px;
}

.value-props {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.prop-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.prop-item i {
    color: #28a745;
    margin-right: 15px;
    width: 20px;
}

.pay-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
    margin-bottom: 20px;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.4);
}

.pay-button i {
    margin-right: 10px;
}

.payment-note {
    color: #666;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .metaphor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .metaphor-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-card {
        margin: 0 20px;
        padding: 40px 30px;
    }
    
    .amount {
        font-size: 3rem;
    }
}
